/*
 * windowhandler.h
 *
 *  Created on: 2013. 5. 10.
 *      Author: ozarwork@gmail.com
 *        Note: This is a message handler for a window class. (MVC-Controller)
 *
 *       Usage:
 */

#ifndef WindowMESSAGEHANDLER_H
#define WindowMESSAGEHANDLER_H

#include "def.h"
#include "windowdraw.h"

class WindowDraw;

class WindowMessageHandler
{
	private:


	protected:

	public:
		WindowMessageHandler();
		virtual ~WindowMessageHandler();

		// This is a static message handler
		static LRESULT CALLBACK gg
			(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

		static LRESULT CALLBACK gx
			(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

		WindowDraw *wDraw;
};


#endif // WindowMESSAGEHANDLER_H
